/**
 * 与服务器端通讯的协议类型
 */

export enum Protocol {
    //**********************************请求协议************************************************* */
    /** 进入房间 */
    request_join_room = "request_enter_room",
    /** 离开房间 */
    request_leave_room = "request_leave_room",

    /** 游戏模式 */
    request_game_model = "request_game_model",
    /** 游戏类型 */
    request_game_type = "request_game_type",
    /** 加入游戏 */
    request_join = "request_join",
    /** 开始游戏 */
    request_start = "request_start",
    /** 游戏准备 */
    request_reserve = "request_reserve",
    /** 游戏取消准备 */
    request_reserve_cancel = "request_reserve_cancel",
    /** 点击座位 */
    request_sit_down = "request_sit_down",
    /** 离开座位 */
    request_leave_seat = "request_leave_seat",

    //**********************************监听协议************************************************* */
    listen_join_room = "listen_join_room",
    listen_leave_room = "listen_leave_room",
    listen_game_model = "listen_game_model",
    listen_game_type = "listen_game_type",
    listen_join = "listen_join",
    listen_start = "listen_start",
    listen_reserve = "listen_reserve",
    listen_reserve_cancel = "listen_reserve_cancel",
    listen_sit_down = "listen_sit_down",
    listen_leave_seat = "listen_leave_seat"
}